//
//  DetailScorllView.h
//  Happy Kitchen
//
//  Created by mac_chen on 15/3/7.
//  Copyright (c) 2015年 mac_chen. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "DetailModel.h"
#import "UIImageView+WebCache.h"
#import "StuffModel.h"
#import "StepsModel.h"

@interface DetailScorllView : UIScrollView

@property (nonatomic, strong) UIImageView *coverImageView;
@property (nonatomic, strong) UILabel *titleLabel;
@property (nonatomic, strong) UILabel *introLabel;
@property (nonatomic, strong) UILabel *nameLabel;
@property (nonatomic, strong) UILabel *weightLabel;
@property (nonatomic, strong) UILabel *cookTimeLabel;
@property (nonatomic, strong) UILabel *userCountLabel;
@property (nonatomic, strong) UIImageView *stepPhotoImageView;
@property (nonatomic, strong) UILabel *stepsIntroLabel;
@property (nonatomic, strong) UILabel *stepsCount;

@property (nonatomic, strong) NSMutableArray *allStuffArr;
@property (nonatomic, strong) NSMutableArray *allstepsArr;

// 自定义初始化
- (instancetype)initWithFrame:(CGRect)frame detail:(DetailModel *)detail;

+ (CGFloat)heightForText:(NSString *)text;

@end
